package com.googlecode.alfrescocachingserver.model;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import net.sf.ehcache.MimeTypeByteArray;

public class CacheEntry extends MimeTypeByteArray
{
    private static final long serialVersionUID = -5158649842723403936L;
    
    protected String localFilePath;
    protected Date createDate;
    protected Map<String, List<Object>> headerMap = new HashMap<String, List<Object>>();
    
    public CacheEntry()
    {
        this.createDate = new Date();
    }

    public String getLocalFilePath()
    {
        return localFilePath;
    }

    public void setLocalFilePath(String localFilePath)
    {
        this.localFilePath = localFilePath;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Map<String, List<Object>> getHeaderMap()
    {
        return headerMap;
    }

    public void setHeaderMap(Map<String, List<Object>> headerMap)
    {
        this.headerMap = headerMap;
    }
}
